package net.modul.district.service;

import java.util.List;

import net.common.service.GeneralService;
import net.modul.district.dao.DistrictDao;
import net.modul.district.dao.impl.DistrictDaoImpl;
import net.modul.district.vo.DistrictVo;

/**
 * 区域查询业务处理
 * 
 * @author Administrator
 *
 */
public class DistrictSearchService extends GeneralService {

	private List<DistrictVo> list;
	private DistrictVo bean;
	
	@Override
	public void execute() throws Exception {
		DistrictDao dao = new DistrictDaoImpl();
		list = dao.search(bean);
	}

	public List<DistrictVo> getList() {
		return list;
	}

	public void setBean(DistrictVo bean) {
		this.bean = bean;
	}

}
